/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing;

import aktor.ChattingKonsultan;
import java.util.ArrayList;

/**
 *
 * @author WIN7
 */
public class testInboxOutbox_konsultan {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        ChattingKonsultan chatk = new ChattingKonsultan();
        ArrayList<ChattingKonsultan> inbox = new ChattingKonsultan().getInbox("0004");
        System.out.print("Inbox = ");
        for (int i = 0; i < inbox.size(); i++) {
            System.out.print(inbox.get(i).getPesan()+ " ");

        }
//        System.out.println("Inbox = " + chatk.getInbox("0004"));
        System.out.println("Outbox = " + chatk.getOutbox("0002"));
        
    }
}
